<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>积分商城</title>
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/weui.css" />
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/goods.css" />
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/setgoods.css" />

</head>

<body>
<div class="container" id="container">
    <div class="page navbar js_show">
        <div class="page__bd" style="height: 100%;">
            <div class="weui-tab">
                <div class="weui-tab__panel">
                    <div class="list-box" id="list-box" style=" padding-bottom: 30px; ">
                        {volist name="list" id="vo"}
                        <div class="box">
                            <a href="{:url('cardshopali/goodsdetail',array('id'=>$vo['id'],'template_id'=>$vo['template_id']))}">
                                <div class="pic-box" style=" background:{notempty name="vo.goods_color"}{$vo.goods_color}{else/}{:getcolor(cardgetinfo($vo['goods_template_id'],1,3))}{/notempty};">
                                    <img class="card-logo" src="{$vo.goods_img}">
                                    <div class="card-box">
                                        <div class="card-title">
                                            {$vo.goods_name}
                                        </div>

                                       
                                    </div>
                                </div>
                                <div class="box-text">
                                    <p class="box-title box-title-name">{notempty name="vo.goods_card_id"}{$vo.goods_card_id|get_cardid_type=###}{else/}红包{/notempty}</p>
                                    <p class="box-title box-title-detail">
                                        <span class="detail-integral">{$vo.goods_price}积分</span>
                                    </p>
                                    <p>
                                    </p>
                                </div>
                            </a>
                        </div>
                        {/volist}
                    </div>
                </div>

                <div class="weui-tab__panel" style="display:none;">
                    <div class="weui-panel weui-panel_access">
                        <div class="weui-panel__bd">
                            {volist name="order" id="orvo"}
                            <a href="{:url('carduserali/orderinfo', array('id'=>$orvo['id']))}" class="weui-media-box weui-media-box_appmsg">
                                <div class="weui-media-box__bd flex2">
                                    <h4 class="weui-media-box__title" style="color:#3e4655;padding: 3px 0">订单:{$orvo.goods_name}</h4>
                                    <p class="weui-media-box__desc" style="padding: 3px 0">{$orvo.create_time}</p>
                                </div>
                                <div class="weui-media-box__bd text-right">-{$orvo.price}积分</div>
                            </a>
                            {/volist}

                        </div>
                    </div>
                </div>
                <div class="weui-navba">
                    <div class="weui-navbar__item weui-bar__item_on">
                        积分兑换
                    </div>
                    <div class="weui-navbar__item">
                        我的记录
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
</body>


</html>